package com.example.tplus.controller;

import com.example.tplus.bean.HttpData;
import com.example.tplus.mapper.TVMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
public class WanShengTVController {
    @Autowired
    TVMapper tvMapper;

    @ResponseBody
    @RequestMapping(value = "getBaoGong" ,method = RequestMethod.GET)
    public HttpData<List<TVBaoGongMX>> getBaoGong() {
        HttpData<List<TVBaoGongMX>> httpData = new HttpData<>();


        return httpData;
    }
}
